te common/header}-->

<!--style>
  @font-face {
    font-family: "YinPinLangHei";
    src: local('YinPinLangHei'),
         url('fontName.woff') format('woff'),
         url('fontName.ttf') format('truetype'),
         url('fontName.svg#fontName') format('svg');
  }
</style-->

<div style="width: 49%; float: left;" id="list" class="tl bm bmw">
  <div class="bm_c2 ue_bmc2">
    <form method="post" autocomplete="off" name="moderate" id="moderate" action="forum.php?mod=topicadmin&amp;action=moderate&amp;fid=2&amp;infloat=yes&amp;nopost=yes">
      <table summary="forum_2" cellspacing="0" cellpadding="10" style="margin: auto">
        <tbody id="separatorline" class="emptb">
          <tr>
            <td class="icn"></td>
            <th></th>
            <td class="by"></td>
            <td class="num"></td>
            <td class="byy"></td></tr>
          </tbody>
        <!--{eval $loopVar = 1;}-->
        <!--{loop $showdata $everyObj}-->
        <!--{if $loopVar<=20}-->
          <tbody style="height: 200px;">
            <!--{if $loopVar==1}-->
            <td style="font-family: sans-serif; font-weight: bolder; font-style: italic; font-size: 25; color: crimson;">
            <!--{elseif $loopVar==2}-->
            <td style="font-family: sans-serif; font-weight: bolder; font-style: italic; font-size: 25; color: darkorange;">
            <!--{elseif $loopVar==3}-->
            <td style="font-family: sans-serif; font-weight: bolder; font-style: italic; font-size: 25; color: goldenrod;">
            <!--{elseif $loopVar<=5}-->
            <td style="font-family: sans-serif; font-weight: bolder; font-style: italic; font-size: 20;">
            <!--{else}-->
            <td style="font-family: sans-serif; color: black;">
            <!--{/if}-->
              {$loopVar}
            </td>
            <!--{if $loopVar<=3}-->
            <td style="font-family: sans-serif; font-weight: bolder; font-style: italic; font-size: 25;">
            <!--{elseif $loopVar<=5}-->
            <td style="font-family: sans-serif; font-weight: bolder; font-style: italic; font-size: 20;"> 
            <!--{else}-->
            <td style="font-family: sans-serif;">
            <!--{/if}-->
              <a href="{$everyObj[1]}" class="s xstt">{$everyObj[0]}</a>
            </td>
          </tbody>
          <!--{eval $loopVar = $loopVar + 1;}-->
          <!--{/if}-->
        <!--{/loop}-->
      </table>
    </form>
  </div>
</div>

<!--{eval global $_G;}-->
<div style="width: 49%; float: left;">
  <script src="static/js/common.js"></script>
  <script src="static/js/forum.js"></script>
  <script src="static/js/ajax.js"></script>
  <script src="static/js/seditor.js"></script>
  <script src="static/js/at.js"></script>
  <script src="static/js/upload.js"></script>
  <script src="static/js/smilies.js"></script>
  <script type="text/javascript">
    var postminchars = parseInt('$_G['setting']['minpostsize']');
    var postmaxchars = parseInt('$_G['setting']['maxpostsize']');
    var disablepostctrl = parseInt('{$_G['group']['disablepostctrl']}');
    var fid = parseInt('$_G[fid]');
    </script>
    <div id="f_pst" class="bm">
      <div class="bm_h">
        <h2 style="font-size: 22; font-family: sans-serif; font-weight: bold;">发表你的看法</h2>
      </div>
      <div class="bm_c">
        <form method="post" autocomplete="off" id="fastpostform" action="forum.php?mod=post&action=newthread&fid=2&topicsubmit=yes&infloat=yes&handlekey=fastnewpost" onSubmit="return fastpostvalidate(this)">
          <!--{hook/forumdisplay_fastpost_content}-->

          <div id="fastpostreturn" style="margin:-5px 0 5px"></div>
    
          <div class="pbt cl">
            <input type="text" id="subject" name="subject" value="" onkeyup="strLenCalc(this, 'checklen', 80);" tabindex="11" style="width: 25em; font-size: 15; height: 30px;" />
            <span>剩余<strong id="checklen">80</strong>字</span>
          </div>
    
          <div class="cl">
            <!--{if $_G[setting][fastsmilies]}--><div id="fastsmiliesdiv" class="y"><div id="fastsmiliesdiv_data"><div id="fastsmilies"></div></div></div><!--{/if}-->
            <div{if $_G[setting][fastsmilies]} class="hasfsl"{/if} id="fastposteditor">
              <div class="tedt">
                <div class="bar">
                  <span class="y">
                    <!--{hook/forumdisplay_fastpost_func_extra}-->
                    <a style="font-size: 15; font-family: sans-serif; font-weight: normal;" href="forum.php?mod=post&action=newthread&fid=2" onclick="switchAdvanceMode(this.href);doane(event);">高级模式</a>
                  </span>
                  <!--{eval $seditor = array('fastpost', array('at', 'bold', 'color', 'img', 'link', 'quote', 'code', 'smilies'), !$allowfastpost ? 1 : 0, $allowpostattach && $allowfastpost ? '<span class="pipe z">|</span><span id="spanButtonPlaceholder">'.lang('template', 'upload').'</span>' : '');}-->
                  <!--{hook/forumdisplay_fastpost_ctrl_extra}-->
                </div>
                <div class="area">
                  <!--{if 1}-->
                    <textarea style="font-size: 15;" rows="15" cols="60" name="message" id="fastpostmessage" onKeyDown="seditor_ctlent(event, '$(\'fastpostsubmit\').click()');" tabindex="12" class="pt"></textarea>
                  <!--{else}-->
                    <div class="pt hm">
                      <!--{if !$_G['uid']}-->
                        <!--{if !$_G['connectguest']}-->
                          登录发帖 <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)" class="xi2">登录</a> | <a href="member.php?mod={$_G[setting][regname]}" class="xi2">$_G['setting']['reglinkname']</a>
                        <!--{else}-->
                          完善信息后即可发帖
                        <!--{/if}-->
                      <!--{else}-->
                        没有权限发帖<a href="javascript:;" onclick="$('newspecial').onclick()" class="xi2">点击查看原因</a>
                      <!--{/if}-->
                      <!--{hook/global_login_text}-->
                    </div>
                  <!--{/if}-->
                </div>
              </div>
            </div>
            <div id="seccheck_fastpost">
              <!--{if $fastpost && ($secqaacheck || $seccodecheck)}-->
                <!--{subtemplate forum/seccheck_post}-->
              <!--{/if}-->
            </div>
    
            <input type="hidden" name="formhash" value="{FORMHASH}" />
            <input type="hidden" name="usesig" value="$usesigcheck" />
          </div>
    
          <!--{if $allowpostattach}-->
            <script type="text/javascript">
            var editorid = '';
            var ATTACHNUM = {'imageused':0,'imageunused':0,'attachused':0,'attachunused':0}, ATTACHUNUSEDAID = new Array(), IMGUNUSEDAID = new Array();
            </script>
    
            <input type="hidden" name="posttime" id="posttime" value="{TIMESTAMP}" />
            <div class="upfl{if empty($_GET[from]) && $_G[setting][fastsmilies]} hasfsl{/if}">
              <table cellpadding="0" cellspacing="0" border="0" width="100%" id="attach_tblheader" style="display: none">
                <tr>
                  <td>{lang e_attach_insert}</td>
                  <td class="atds">{lang description}</td>
                  <!--{if $_G['group']['allowsetattachperm']}-->
                  <td class="attv">
                    {lang readperm}
                    <img src="{IMGDIR}/faq.gif" alt="Tip" class="vm" onmouseover="showTip(this)" tip="{lang post_select_usergroup_readacces}" />
                  </td>
                  <!--{/if}-->
                  <!--{if $_G['group']['maxprice']}--><td class="attpr">{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]}</td><!--{/if}-->
                  <td class="attc"></td>
                </tr>
              </table>
              <div class="fieldset flash" id="attachlist"></div>
              <!--{if empty($_G['setting']['pluginhooks']['forumdisplay_fastpost_upload_extend'])}-->
                <!--{subtemplate common/upload}-->
                <script type="text/javascript">
                  var upload = new SWFUpload({
                    upload_url: "{$_G[siteurl]}misc.php?mod=swfupload&action=swfupload&operation=upload&fid=$_G[fid]",
                    post_params: {"uid" : "$_G[uid]", "hash":"$swfconfig[hash]"},
                    file_size_limit : "$swfconfig[max]",
                    file_types : "$swfconfig[attachexts][ext]",
                    file_types_description : "$swfconfig[attachexts][depict]",
                    file_upload_limit : $swfconfig['limit'],
                    file_queue_limit : 0,
                    swfupload_preload_handler : preLoad,
                    swfupload_load_failed_handler : loadFailed,
                    file_dialog_start_handler : fileDialogStart,
                    file_queued_handler : fileQueued,
                    file_queue_error_handler : fileQueueError,
                    file_dialog_complete_handler : fileDialogComplete,
                    upload_start_handler : uploadStart,
                    upload_progress_handler : uploadProgress,
                    upload_error_handler : uploadError,
                    upload_success_handler : uploadSuccess,
                    upload_complete_handler : uploadComplete,
                    button_image_url : "{IMGDIR}/uploadbutton_small.png",
                    button_placeholder_id : "spanButtonPlaceholder",
                    button_width: 17,
                    button_height: 25,
                    button_cursor:SWFUpload.CURSOR.HAND,
                    button_window_mode: "transparent",
                    custom_settings : {
                      progressTarget : "attachlist",
                      uploadSource: 'forum',
                      uploadType: 'attach',
                      <!--{if $swfconfig['maxsizeperday']}-->
                      maxSizePerDay: $swfconfig['maxsizeperday'],
                      <!--{/if}-->
                      <!--{if $swfconfig['maxattachnum']}-->
                      maxAttachNum: $swfconfig['maxattachnum'],
                      <!--{/if}-->
                      uploadFrom: 'fastpost'
                    },
                    debug: false
                  });
                </script>
              <!--{else}-->
                <!--{hook/forumdisplay_fastpost_upload_extend}-->
              <!--{/if}-->
            </div>
          <!--{/if}-->
    
          <p class="ptm pnpost">
            <a href="home.php?mod=spacecp&ac=credit&op=rule&fid=$_G[fid]" class="y" target="_blank">积分规则</a>
            <button style="font-size: 15;" {if $fastpost}type="submit" {elseif !$_G['uid']}type="button" onclick="showWindow('login', 'member.php?mod=logging&action=login&guestmessage=yes')" {/if}{if !$seccodecheck && !$secqaacheck}onmouseover="checkpostrule('seccheck_fastpost', 'ac=newthread');this.onmouseover=null" {/if}name="topicsubmit" id="fastpostsubmit" value="topicsubmit" tabindex="13" class="pn pnc"><strong>发表观点</strong></button>
            <!--{hook/forumdisplay_fastpost_btn_extra}-->
            <!--{if !empty($_G['setting']['pluginhooks']['forumdisplay_fastpost_sync_method'])}-->
              <span>
                {lang post_sync_method}:
                <!--{hook/forumdisplay_fastpost_sync_method}-->
              </span>
            <!--{/if}-->
            <!--{if helper_access::check_module('follow')}-->
            <label><input type="checkbox" name="adddynamic" class="pc" value="1" {if $_G['forum']['allowfeed'] && !$_G[tid] && empty($_G['forum']['viewperm'])}checked="checked"{/if} />{lang post_relay}</label>
            <!--{/if}-->
          </p>
        </form>
      </div>
    </div>
</div>

<!--{template common/footer}-->

